package wayPointTest;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

import WayPoints.NERecorder;

public class RecordingDestinations {
	
	protected NERecorder recorder;

	@Before
	public void setUp() {
		recorder = new NERecorder();
		recorder.recordPath();
		
		
	}
	
	@Test
	public void listOfAllDestinationsShouldContainOneDestination() {
		assertFalse(this.recorder.getAllDestinations().isEmpty());
		
	}
	
	@Test
	public void afterAddingAnotherDestinationListOfAllDestinationsShouldContainsTwoDestinations() {
		recorder.recordPath();
		assertTrue(this.recorder.getAllDestinations().size() == 2);
		
	}

}
